package com.ruoyi.scsystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目管理对象 sys_project_category
 * 
 * @author cai
 * @date 2022-09-19
 */
public class SysProjectCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目id */
    @Excel(name = "项目id")
    private String catId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 状态0-启用 1-关闭 */
    @Excel(name = "状态0-启用 1-关闭")
    private String status;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long userId;

    /** 分值 */
    @Excel(name = "分值")
    private String score;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 说明 */
    @Excel(name = "说明")
    private String comment;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentId;

    /** 父级id集 */
    @Excel(name = "父级id集")
    private String parentIds;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 用户登录ip地址 */
    @Excel(name = "用户登录ip地址")
    private String ip;

    public void setCatId(String catId) 
    {
        this.catId = catId;
    }

    public String getCatId() 
    {
        return catId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setParentIds(String parentIds) 
    {
        this.parentIds = parentIds;
    }

    public String getParentIds() 
    {
        return parentIds;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("catId", getCatId())
            .append("name", getName())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("score", getScore())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("comment", getComment())
            .append("parentId", getParentId())
            .append("parentIds", getParentIds())
            .append("sort", getSort())
            .append("ip", getIp())
            .toString();
    }
}
